Power amplifier controller

ABSTRACT

The present disclosure provides a power amplifier controller for starting up, operating, and shutting down a power amplifier. The power amplifier controller includes current sense amplifier circuitry adapted to monitor a main current of the power amplifier. A bias generator is also included and adapted to provide a predetermined standby bias voltage and an operational bias voltage based upon a main current level sensed by the current sense amplifier circuitry. The power amplifier controller further includes a sequencer adapted to control startup and shutdown sequences of the power amplifier. In at least one embodiment, the power amplifier is a gallium nitride (GaN) device, and the main current level sensed is a drain current of the GaN device. Moreover, the bias generator is a gate bias generator provided that the power amplifier is a field effect transistor (FET) device.

RELATED APPLICATIONS

This application claims the benefit of U.S. provisional patent application No. 61/720,149, filed Oct. 30, 2012, the disclosure of which is incorporated herein by reference in its entirety.

FIELD OF THE DISCLOSURE

The present disclosure relates to a power amplifier controller for preventing damage of a power amplifier during startup, operation, and shutdown.

BACKGROUND

In order to safely use a new technology power amplifier such as a gallium nitride (GaN) power amplifier, a user must provide an appropriate bias voltage for the power amplifier. Typically, this bias voltage must be adjusted to set a quiescent current for each power amplifier. Moreover, some means must be provided to selectively apply and remove a supply voltage for the power amplifier. Further still, the bias voltage and the supply voltage must be applied and removed using appropriate sequencing. Unless proper biasing and sequencing is provided for a power amplifier, the power amplifier will typically fail catastrophically. What is needed is a power amplifier controller that is adapted to generate predetermined bias levels that are appropriately output to a power amplifier during startup, operation, and shutdown sequences for the power amplifier.

SUMMARY

The present disclosure provides a power amplifier controller for starting up, operating, and shutting down a power amplifier. The power amplifier controller includes current sense amplifier circuitry adapted to monitor a main current of the power amplifier. A bias generator is also included and adapted to provide a predetermined standby bias voltage and an operational bias voltage based upon a main current level sensed by the current sense amplifier. The power amplifier controller further includes a sequencer adapted to control startup and shutdown sequences of the power amplifier.

In at least one embodiment, the power amplifier is a gallium nitride (GaN) device, and the main current level sensed is a drain current of the GaN device. Moreover, the bias generator is a gate bias generator provided that the power amplifier is a field effect transistor (FET) device. In a case wherein the power amplifier is a bipolar junction transistor (BJT) device, the bias generator is a base bias generator.

A benefit of the present power amplifier controller is the safe operation of new technology amplifiers such as GaN amplifiers during startup and shutdown. Another benefit is that one embodiment of the present power amplifier controller is manufacturable as an integrated circuit. Moreover, another embodiment provides the benefit of having the present power amplifier controller integrated into a module that includes a power amplifier. Additional benefits include, but are not limited to, a reduction of board space and a minimization of the number of voltage rails needed to operate the power amplifier.

Those skilled in the art will appreciate the scope of the disclosure and realize additional aspects thereof after reading the following detailed description in association with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.

FIG. 1 is a schematic diagram of a power amplifier controller system that is in accordance with the present disclosure.

FIG. 2 is a schematic diagram of the power amplifier controller that generates bias voltages and controls startup and shut down sequencing of the power amplifier of FIG. 1.

FIG. 3 is a timing diagram for the power amplifier controller of FIG. 1 and FIG. 2, wherein the voltage gain select signal is not asserted and the gate blanking signal is asserted within the enable signal.

FIG. 4 is a timing diagram for the power amplifier, wherein the voltage gain select signal is not asserted while the enable signal is dropping and the gate blanking signal is asserted.

FIG. 5 is a timing diagram for the power amplifier controller, wherein the voltage gain select signal is asserted and the gate blanking signal is ignored.

FIG. 6 is a diagram of waveforms generated by the power amplifier controller for a gallium nitride (GaN) based power amplifier operated at 48 V.

FIG. 7 is a schematic diagram of a prior art comparator.

FIG. 8 is a schematic diagram of an active sample and hold circuit.

FIG. 9 is a schematic diagram of a generic self-zeroing comparator.

FIG. 10 is a schematic diagram of an auto-zeroing sense amplifier.

FIG. 11 is a schematic diagram of an auto-zeroing sense amplifier with current trimming.

FIG. 12 is a schematic diagram of an auto-zeroing sense amplifier having a current digital to analog converter (DAC).

FIG. 13 is a schematic diagram of a power saving configuration for the current sense circuitry.

FIG. 14 is a diagram with calculations for adjusting the current sense circuitry for a particular power amplifier.

DETAILED DESCRIPTION

The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the disclosure and illustrate the best mode of practicing the disclosure. Upon reading the following description in light of the accompanying drawings, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.

The present disclosure provides a power amplifier controller that is adapted to generate predetermined bias levels that are appropriately output to a power amplifier during startup, operation, and shutdown sequences for the power amplifier. FIG. 1 is a schematic diagram of a power amplifier controller system 10 that is in accordance with the present disclosure. The power amplifier controller system 10 includes a power amplifier controller 12 for starting up, operating, and shutting down a power amplifier 14. In at least one embodiment, the power amplifier controller 12 is an integrated circuit that interfaces with external circuitry 16. The external circuitry 16 conveys a bias voltage VGBIAS generated by the power amplifier controller 12 to the power amplifier 14. The bias voltage VGBIAS is filtered via a capacitor C1 and an inductor L1.

In the exemplary case shown in FIG. 1, the power amplifier controller 12 responds to several control signals. A chip enable signal CHIP_EN forces proper de-bias sequences for safe shutdown or to force re-biasing to compensate for aging and/or temperature changes in the power amplifier system 10 and the power amplifier 14. A gate blanking signal G_BLANK is asserted to pinch off gate voltage for saving power and for re-applying prior-set gate voltage without having to restart a search for a quiescent voltage. A gate bias selection signal VGBIAS_SEL allows for gate voltage generation (−8V) and safe drain voltage sequencing. This allows use in modes where setting quiescent current is not desired, such as biasing Doherty peaking amplifiers.

A gate voltage temperature control high bit signal VBTC_H sets a most significant bit for providing temperature compensation to the bias voltage VGBIAS. Another gate voltage temperature control high bit signal VBTC_L sets a least significant bit for providing temperature compensation to the bias voltage VGBIAS. A gate voltage step time high bit signal VSTD_H sets a most significant bit for providing a counter value for a step unit of gate voltage change. Another gate voltage step time low bit signal VSTD_L sets a least significant bit for providing the counter value for the step unit of gate voltage change.

In the exemplary case of FIG. 1, the bias voltage VGBIAS is applied to the gate of a gallium nitride (GaN) transistor M0. The bias voltage VGBIAS is used to turn the GaN transistor M0 off during a shutdown sequence as well as provide a predetermined drain current I_(D) for an operation sequence. The external circuitry 16 also includes a current sense network 18 that is used to sense current levels for the drain current I_(D). The current sense network 18 includes an NMOS transistor M1 that is used to turn on a PMOS transistor M2 that when turned on allows the drain current I_(D) to flow through a sense resistor RSENSE before flowing through the GaN transistor M0. The external circuitry 16 further includes a switch network 20 for enabling and disabling the flow of main current to the power amplifier 14. In this exemplary case of FIG. 1, the main current is the drain current I_(D) that flows through the GaN transistor M0. The switch network 20 includes a PMOS transistor M3 through which the drain current I_(D) flows when turned on. An NMOS transistor M4 is configured to turn on the PMOS transistor M3 in order to bypass the current sense network 18 to eliminate an inefficiency of having the drain current I_(D) flow through the sense resistor RSENSE. As will be explained in detail in later sections, the PMOS transistor M3 is used to pass the drain current I_(D) during most power amplifier operation cycles. In contrast, the PMOS transistor M2 is used to pass the drain current I_(D) when the drain current I_(D) is being measured via the current sense network 18.

FIG. 2 is a schematic diagram of the power amplifier controller 12 that generates bias voltages and controls startup and shutdown sequencing of the power amplifier 14 (FIG. 1). The power amplifier controller 12 includes current sense amplifier circuitry 22 that is adapted to monitor a main current of the power amplifier 14. The current sense amplifier circuitry 22 includes a first 10-BIT DOWN COUNTER that outputs a count to a first 10-BIT CURRENT DAC that outputs a precision current to a SENSE amplifier. The SENSE amplifier outputs a voltage signal RSENSE_P and a voltage signal RSENSE_N to a comparator that drives a second 10-BIT COUNTER that outputs a count value to a second 10-BIT CURRENT DAC that comprises a bias generator 24. The bias generator 24 is adapted to provide a predetermined standby bias voltage level and an operational bias voltage level based upon a main current level sensed by the current sense amplifier circuitry 22. The power amplifier controller further includes a sequencer 26 adapted to control startup and shutdown sequences of the power amplifier 14. A bandgap system 27 includes a bandgap voltage reference that when enabled by either the chip enable CHIP_EN signal or a BANDGAP_ON signal generates a bandgap voltage VBG. The bandgap system 27 also includes a reference generator that responds to the gate bias select signal VGBIAS_SEL to provide a first voltage reference VREF1, a second voltage reference VREF2, a generated bandgap voltage VBGB, a current reference IREF, and a current proportional to absolute temperature IPTAT. A temperature compensation generator TC GEN receives the IREF and the IPAT signals to generate a temperature compensation signal that combines with the current output from the second 10-BIT CURRENT DAC to drive an amplifier that outputs the VGBIAS voltage.

Referring to both FIG. 1 and FIG. 2, in an initial mode, an assertion of a chip enable signal CHIP_EN causes the power amplifier controller 12 to initiate the sequencer 26 to ensure that the gate of the GaN transistor M0 is driven to a pinch off voltage such as −6 V. A negative charge pump 25 (FIG. 2) comprising the bias generator 24 provides the pinch off voltage that is applied to the gate of the GaN transistor M0. In a startup sequence, the power amplifier controller 12 applies a reference switch enable signal DREF_SW_EN to the NMOS transistor M2, which in turn pulls on the gate of the PMOS transistor M1 to apply the supply voltage VEXT to the drain of the GaN transistor M0. At this point only leakage current will flow to the drain because the pitch off voltage is still applied at this instant. In order to raise the drain current I_(D) to a predetermined quiescent point, the power amplifier controller 12 begins ramping the bias voltage VGBIAS in an operational voltage direction while the power amplifier controller 12 monitors the drain current I_(D) via the current sense amplifier circuitry 22. At an instant when the drain current I_(D) reaches a predetermined quiescent point, the power amplifier controller 12 halts the ramping of the bias voltage VGBIAS and holds the bias voltage VGBIAS constant. In order to improve power amplifier efficiency, the NMOS transistor M2 and the PMOS transistor M1 should be turned off so that the drain current I_(D) no longer flows through the current sense resistor RSENSE. However, the supply voltage VEXT to the drain of the GaN transistor M0 must be maintained. Therefore, before the power amplifier controller 12 turns off the NMOS transistor M2 and the PMOS transistor M1, the power amplifier controller 12 applies an RF switch enable signal DRF_SW_EN to the NMOS transistor M4, which in turn pulls on the gate of the PMOS transistor M3, which turns on the PMOS transistor M3 to maintain application of the supply voltage VEXT to the drain of the GaN transistor M0. Once the supply voltage VEXT is held constant onto the drain of the GaN transistor M0, a radio frequency (RF) signal is applied to an RF input terminal RFIN.

Once the RF signal is removed from the RF input terminal RFIN and the chip enable signal CHIP_EN changes state, a shutdown sequence is commenced in which the power amplifier controller 12 ramps the bias voltage VGBIAS in a pinch off voltage direction until the bias voltage VGBIAS reaches a pinch off voltage. In the exemplary embodiment of FIG. 1, the pinch off voltage is a negative voltage, such as −6 V. Once the bias voltage VGBIAS reaches the pinch off voltage, the NMOS transistor M4 is turned off by inverting the RF switch enable signal DRF_SW_EN on the gate of the NMOS transistor M4, which in turn raises the gate of the PMOS transistor M3, which turns off the PMOS transistor M3 to remove the supply voltage VEXT from the drain of the GaN transistor M0.

In a restart mode, an assertion of a chip enable signal CHIP_EN causes the power amplifier controller 12 to start the sequencer 26 to ensure that the gate of the GaN transistor M0 is driven to a pinch off voltage. At this point only leakage current will flow to the drain because the pitch off voltage is still applied at this instant. In order to increase the drain current I_(D) to the predetermined quiescent point, the power amplifier controller 12 ramps the bias voltage VGBIAS back to the voltage held during the initial mode. However, during the restart mode, the drain current I_(D) does not flow through the current sense resistor RSENSE. Therefore, in this restart sequence, the NMOS transistor M2 and the PMOS transistor M1 remain off, and the reference switch enable signal DREF_SW_EN to the NMOS transistor M2 is not asserted. Instead, the power amplifier controller 12 applies the RF switch enable signal DRF_SW_EN to the NMOS transistor M4, which in turn pulls on the gate of the PMOS transistor M3, which turns on the PMOS transistor M3 to apply the supply voltage VEXT to the drain of the GaN transistor M0. Now that the supply voltage VEXT is held constant onto the drain of the GaN transistor M0, a radio frequency (RF) signal is applied to the RF input terminal RFIN. It is to be understood that the shutdown mode and the restart mode can alternately be continued indefinitely.

FIG. 3 is a timing diagram for the power amplifier controller 12 of FIGS. 1 and 2, wherein the voltage gain select signal VGAIN_SEL=0 and the gate blanking signal G_BLANK is asserted within the chip enable signal CHIP_EN. FIG. 4 is a timing diagram for the power amplifier controller 12, wherein the voltage gain select signal VGAIN_SEL=0 with the chip enable signal CHIP_EN dropping while the gate blanking signal G_BLANK is asserted. FIG. 5 is a timing diagram for the power amplifier controller 12, wherein the voltage gain select signal VGAIN_SEL=1 and the gate blanking signal G_BLANK is ignored.

While referring to FIG. 3, FIG. 4, and FIG. 5, it can be seen that after a chip supply voltage VDD turns on and when the chip enable signal CHIP_EN goes high, internal CHIP_EN, the bandgap, and the negative charge pump turn on. The output VGBIAS goes to −6V. Once VGBIAS goes to −6V, an internal detector (VDET) detects −6V and turns on the reference switch enable signal DREF_SW_EN. The reference switch enable signal DREF_SW_EN will turn on the GaN drain switch M1. Power will be applied to the drain of the GaN transistor M0. The reference switch enable signal DREF_SW_EN also enables the 10-bit current DAC. Once the drain switch M1 turns on, the drain current I_(D) starts to flow. The sense resistor RSENSE (FIG. 1) senses this current and creates a voltage drop between RSENSE_P and RSENSE_N. The 10 bit current DAC which drives the VGBIAS regulator keeps clocking in 4.88 mV steps until the voltages on RSENSE_P and RSENSE_N become equal and the DAC stops adjusting. The effective gate voltage at this time is stored in the 10-bit counter for later use.

FIG. 6 is a diagram of waveforms generated by the power amplifier controller for a gallium nitride (GaN) based power amplifier operated at 48 V. The startup sequence starts just before the middle of the diagram where the chip enable signal CHIP_EN begins to rise.

In another embodiment of the present disclosure, the intent of a prior art comparator 28 is to provide a logic level signal out that indicates which of the comparator's inputs has the higher voltage (FIG. 7). This relationship can be expressed mathematically as: DETECT=VREF>VSENSE. Unfortunately, the prior art comparator actually implements the comparison as DETECT=VREF−VSENSE>VOFFSET, where VOFFSET is the offset voltage inherent in the differential inputs of the comparator. The disclosed device uses the amplifier of an active sample-hold circuit 30 as a comparator.

When “Sample” is asserted, switch “S1” is closed. Given that there is negligible voltage drop across Switch “S1” in this condition, then VOUT=(VSENSE+VOFFSET)*GA/(1+GA), where GA is the gain of amplifier “A1”. The voltage across capacitor “CS1” will approach this same voltage as the circuit settles. If VSENSE=VREF when “Sample” is asserted, then the voltage across capacitor “CS1” will settle to (VREF+VOFFSET)*GA/(1+GA). If “Sample” is then de-asserted, VOUT=(VSENSE+VOFFSET+(VSENSE−VREF)*GA)* (GA/(1+GA))

To the extent that GA>>1, this equation simplifies to: VOUT=VSENSE+VOFFSET+(VSENSE−VREF)*GA. From this simplified equation, some observations may be made that hold in general. The contribution of VOFFSET to VOUT is not multiplied by GA as it would be in a traditional differential amplifier/comparator. When VSENSE=VREF, VOUT=(VREF+VOFFSET)*(GA/(1+GA)). From the first observation, it is clear that the sensitivity to DC offset of the amplifier/comparator has been extremely reduced.

From the second observation, it can be seen that strategic selection of VREF will allow the amplifier to directly drive a logic gate or inverter INV1 as shown in FIG. 8. Specifically, VREF should be chosen to be close to a logic threshold voltage (VLT) of the logic family being used. In the case of CMOS logic, VREF should be near 50% of the VDD used to supply the logic. The behavior of this configuration is represented by: DETECT=(VOFFSET+VSENSE*(1+GA)−VREF*GA)*(GA/(1+GA))<VLT.

This equation progressively simplifies to: DETECT=(VSENSE+(VSENSE−VREF)*GA)*(GA/(1+GA))<VLT−VOFFSET*(GA/(1+GA)). DETECT=VSENSE+(VSENSE−VREF)*GA<VLT*(1+GA)/GA−VOFFSET DETECT=(VSENSE−VREF)*(1+GA)<VLT*(1+GA)/GA−VREF−VOFFSET DETECT=(VSENSE−VREF)<(VLT*(1+GA)/GA−VREF−VOFFSET)/(1+GA) DETECT=VREF−VSENSE>(VLT/GA+VLT−VREF−VOFFSET)/(1+GA) DETECT=VREF−VSENSE>((VLT−VREF)+(VLT/GA−VOFFSET))/(1+GA) DETECT=VREF−VSENSE>VOE/(1+GA). Where VOE=(VLT−VREF)+(VLT/GA−VOFFSET)

It can be seen from this last equation that the equation has the same form as the equation describing operation of a traditional comparator. The effect of differences between VREF and VLT has been reduced by a factor greater than the gain of the amplifier stage.

If VREF cannot be so chosen to be close to VLT, a comparator can be used to accomplish logic level translation. This configuration is shown in FIG. 9. The operation of this configuration is described by: DETECT=(VREF+VOFFSET)*GA/(1+GA)>(VREF+VOFFSET+(VSENSE−VREF)*GA)*GA/(1+GA)+VOFFSET2. Where, VOFFSET2 is the offset voltage of the comparator used for logic level translation.

This last equation progressively simplifies to: DETECT=VREF+VOFFSET>VREF+VOFFSET+(VSENSE−VREF)*GA+VOFFSET2*(1+GA)/GA DETECT=0>(VSENSE−VREF)*GA+VOFFSET2*(1+GA)/GA DETECT=(VREF−VSENSE)*GA>VOFFSET2*(1+GA)/GA DETECT=VREF−VSENSE>VOFFSET2*(1+GA)/(GA)2

It can be seen from this last equation that the equation has the same form as the equation describing operation of a traditional comparator. Offset in the amplifier stage has been completely removed from consideration. The effect of offset in the comparator stage has been reduced by a factor almost equal to the gain of the amplifier stage.

Either circuit can exhibit errors in its estimate of the DC reference voltage. These are exactly the same errors inherent with the use of any sample/hold amplifier: sample timing, settling, droop, and capacitor memory.

If Sample is not asserted at the correct time when the desired reference voltage is present, the voltage stored will not accurately represent the desired DC offset. If Sample is not asserted long enough, the voltage on the hold capacitor will not settle to the correct value. When Sample is not asserted, the voltage being held on the hold capacitor can droop due to leakage current in the circuit. Some capacitors tend to return toward a previously held voltage after being charged or discharged from that state.

In practice, these errors can all be minimized by proper circuit design and proper operation of the circuit.

Circuit Operation:

-   -   Assert “Sample” when VSENSE is at the desired reference voltage         (VREF).     -   Let the sample voltage settle on the hold capacitor.     -   De-assert “Sample”.     -   “DETECT” will then indicate that VSENSE has fallen below         VREF−VOFF.

In the configuration of FIG. 8, VOFF=VOE/(1+GA), which is approximately equal to a fraction of the difference between the logic threshold voltage (VLT) and the reference voltage (VREF). The fraction is just slightly smaller than the reciprocal of the amplifier gain. For optimum performance, VREF should be nearly equal to VLT and GA should be high.

FIG. 9 is a schematic diagram of a generic self-zeroing comparator 32. In the configuration of FIG. 9, VOFF=VOFFSET2*(1+GA)/(GA)2, which is a small value equal to a fraction of the offset voltage of the comparator stage. The fraction is just slightly greater than the reciprocal of the amplifier gain. For optimum performance, VOFFSET2 should not be huge and GA should be high.

FIG. 10 is a schematic diagram of an auto-zeroing sense amplifier 34. With reference to another embodiment of the present disclosure, the controlled current sources 36 sets up biasing for the amplifier A2 such that:

-   -   The voltage on RSENSE_P is equal to VREF+VOFF1, where VOFF1 is         the offset voltage of A1.     -   The voltage between RSENSE_P and RSENSE_N is equal to the         voltage across RSENSE when R2 is disconnected.     -   A known DC offset can be intentionally introduced by connecting         the resistor R2 between RSENSE_P and ground. To the extent that         the voltage on RSENSE_P is constant (≈VREF), the presence of R2         has no effect on the differential gain or common mode rejection         of the amplifier.     -   To the extent that the current sources 36 are very high         impedance:         -   There is unity differential gain from across RSENSE to             between RSENSE_P and RSENSE_N.         -   There is good common mode rejection.         -   Mismatches between the two R1 resistors create only DC             offset errors not gain errors.         -   Mismatches between the two controlled current sources 36             also create only DC offset errors.

DC offset from component value variation can be removed by sampling the voltage on RSENSE_N when there is no current flowing through either RSENSE or R2 and then subtracting this sampled voltage from the voltage on RSENSE_N during normal operation. If the amplifier (A2) is used in an active sample-hold circuit to also take the difference between RSENSE_N and the held value, the DC offset in that amplifier is also cancelled out. The voltage on VDET is then VEXT*(1−α)+α*Vp+(α*Vth−Id*sense)*(1+A2). Where α is the imbalance between the negative and positive sides of the amplifier. Specifically, α=(Icn/Icp)*(R1 n+RSENSE)/R1 p. If α=1, i.e. the two sides are perfectly balanced, then VDET=Vp+(Vth−Id*sense)*(1+A2).

The effect of any DC offset in a comparator COMP1 is then suppressed by the gain of A2. In fact, if Vp is set to ½ of the supply voltage used for the CMOS logic that follows this sense circuit and the gain of A2 is large enough, a simple inverter can be used in place of the comparator Cp.

The bandgap voltage can be trimmed such that the voltage Vp on the RSENSE_P terminal has its desired value. Trimming in this manner also removes the effect of VOFF1. If the bandgap is a trimmed bandgap to give 1% accuracy in the voltage on RSENSE_P, RSENSE has a relative accuracy of 1% and the ratio of R1 to R2 is accurate to 1%, then 3% accuracy can be achieved for the entire sense circuit.

For users, the value of R2 could be adjusted to provide the desired current detection threshold. This calibration can be done to the accuracy the customer desires and is limited only by DC drift in the circuit over temperature and age.

The controlled current sources only need to provide constant current over a limited voltage range. The voltage on the RSENSE_P terminal is set to Vp=VREF+VOFF1. It is expected that Vp will be calibrated to be 2.5V±1%, i.e. 2.5V±25 mV. Good design practices would suggest that this current source should be well behaved over a voltage range of 2.4 to 2.6 V. This provides enough compliance to allow the circuit to work properly without or prior to precision trimming.

During operational calibration, R2 is disconnected and the voltage on the RSENSE_N terminal will be set to Vn=VEXT*(1−α)+α*Vp. If the R1 resistors are matched to within 0.5% and the current sources are matched to within 1%, then α=1±1.5% and for VEXT=65V±5%, Vp=2.5V±1%, Vn=2.5V±1.0V. The current in the current source should not be allowed to vary by more than 0.1% over this voltage range.

Just after operational calibration, the Vn voltage established during calibration is held on the hold capacitor and R2 is reconnected. The GaN gate bias will still be highly negative and only leakage current will be drawn through RSENSE by the GaN device. This same leakage current was present during calibration, so Vn will attempt to go to Vp+Vth. Since Vth may be on the order of ½ volt to a few volts, Vp+Vth may be well above the compliant range of the current source at this time. This is proper. The behavior of the current source only needs to be accurate when Vn is near the voltage held during calibration. The RSENSE_N terminal should be diode clamped to VDD, however, to prevent damage to the device from occurring just after operational calibration.

After the condition just described, the GaN gate voltage will start ramping up, I_(D) will increase, and Vn will ramp down toward Vp. When the desired value drain current is reached, Vn will have the same value as it did during operational calibration. The compliance needed to facilitate accurate detection of the desired drain current is then the same as the compliance needed during calibration.

As can be seen from the above discussion, the required compliance range is determined by the highest possible value of VEXT, the accuracy of Vp, the matching of the two R1s, and the matching of the two controlled current sources.

Since VEXT>α*Vp, (VEXT=12 to 65 V and α*Vp<3 V), the required range is given by: Vmax=max(VEXT)*(1−min(α))+max(Vp)*min(α) Vmin=max(VEXT)*(1−max(α))+min(Vp)*max(α) α=(Icn/Icp)*(R1n+RSENSE)/R1p. Note also that headroom can be traded for legroom and vice versa simply by adjusting Vp.

The required compliance range (Vmax−Vmin) can then be reduced by:

-   -   Improving the trimming of Vp.     -   Improving the matching of R1 p to R1 n+RSENSE.     -   Improving the matching of the two current sources.     -   Trimming one of the current sources to make a very nearly equal         to unity.

The current source may be trimmed during the operational calibration interval. If one assumes resistor matching of 0.5% and current source matching of 1%, then one of the current sources could be designed to be nominally 1.5% larger than the other. At least 3% of this current source could then be segmented into 15 parts to allow a to be trimmed to an accuracy of ±0.1%. This would give: Vmax=2.525V*0.999+69V*0.001=2.591V Vmin=2.475V*1.001−69V*0.001=2.408V

Trimming a current source is a means of reducing the needed compliance range (FIG. 11). Trimming, however, effectively adjusts the differential DC offset between Vn and Vp. The trimming just described could then also be used for auto-zeroing. If the sample and hold were eliminated, a comparator with a DC offset less than 100 mV was used between Vn and Vp and the compliance of the RSENSE_N terminal spanned the range from 2.3V to 2.7V, then 11 segments of 1% each on the current source could achieve a detection accuracy of ±0.5% in the sense amplifier. If a 1% resistor was used for RSENSE, Vp was trimmed to 1%, and R1 was matched to R2 to within 1%, an overall detection accuracy of ±3.5% could be achieved.

A counter CNT1 used to control the current source may be configured to initially set Vn higher than Vp and bring Vn down to approach Vp during calibration. This makes the comparator approach its detection threshold from the same direction during calibration as it does in operation.

Common mode rejection in the original sense amplifier may be limited to 36 dB by the matching accuracy of the current sources and R1 resistors. However, the sample-hold amplifier had unity common mode gain and a differential gain of at least 40 dB. This may give performance equivalent to 76 dB of common mode rejection when normalized to unity differential gain. In short, common mode rejection was a non-issue in the original circuit.

With the sample-hold amplifier removed and current source trimming added as described above, the sense amplifier has unity differential gain and can achieve 60 dB of common mode rejection. This would appear to be adequate. Unfortunately, the auto-zeroing mechanism unbalances the sense amplifier in order to compensate for DC offset in the comparator. With a DC offset of 100 mV and a supply voltage VEXT=65V, the common mode rejection is limited to 56 dB. If a supply voltage VEXT=12V, the common mode rejection is limited to 40 dB. This may be acceptable. The effects of unit-to-unit variation and long term drift of VEXT are removed by the auto-zeroing. Noise on VEXT or droop on VEXT when the GaN drain current is ramped can, however, cause a detection error if there is inadequate common mode rejection in the sense amplifier. A 10% droop with 40 dB of common mode rejection would introduce a 0.1% detection error. This should be acceptable.

If the DC offset allowed in the comparator were reduced to 25 mV, however, 52 dB of common mode rejection could be achieved with VEXT=12V and 59 dB when VEXT=65V. This tightening of the requirement for offset in the comparator from 100 mV to 25 mV would also relax the compliance range of the current source by 150 mV. DC offset should, therefore, be made as low as is practical when this auto-zeroing technique is used.

FIG. 12 is a schematic diagram of an auto-zeroing sense amplifier having a current digital to analog converter (DAC) 42 in place of R2. Let the current DAC 42 be programmable for currents of 0 and 0.9*N to N μA in 1% steps. Let N be trimmed to any desired value between 10 μA and 100 μA with a 4% accuracy. Composite trimming accuracy of the current DAC 42 is then 0.2% If a 1% resistor was used for RSENSE, a was trimmed as described for the alternate approach for auto-zeroing, and a 0.5% resistor was used for R1 n, an overall detection accuracy of ±2.2% could be achieved with one less external component. The best possible outcome for matching of controlled current sources may be 1%.

If one segment of each of the two current sources 40 is then subdivided into ten sections that could be independently enabled or disabled, calibrated matching may be within 0.1%. This structure may be able to give any desired side-to-side current ratio between roughly 98% and 102% in steps of 0.2%. If desired, this structure could also be folded to minimize dimensional variation across its surface.

If the alternate technique for threshold setting is used, factory calibration requirement for Vp could be relaxed to ±4%. Vp only needs to be accurate enough to keep compliance requirements reasonable. The current DAC 42 may also be trimmed to a preset value ±0.2%. Alternatively, users may trim the current DAC 42 in a manner equivalent to the trimming of R2 in the original design. This method of factory calibration could achieve an overall detection accuracy of ±0.7% even using a 1% resistor for RSENSE and matching the R1 resistors to only 0.5%. The matching requirements for R1 might be further relaxed if the range for a trimming was increased and compliance requirements were still acceptable. This method of factory calibration may also remove any detection error from supply voltage VEXT droop to the extent that the droop was repeatable.

To support factory calibration, some sequential logic FF1 may be added to the detection threshold setting circuit. Users could then set the threshold higher than they expected should be needed and initiate a GaN startup sequence while monitoring GaN drain current. Once the desired drain current was reached, the startup sequence could be halted and the threshold setting ramped down until the comparator indicated detection. This threshold setting could then be programmed into the fuse array.

FIG. 13 is a schematic diagram of a power saving configuration for the current sense amplifier circuitry. A diode D1 can be placed in series between RSENSE and the point that provides the DC supply to the drain of the GaN device (FIG. 13). After the desired gate bias voltage has been determined by the sequencer 26 and the NMOS transistor M2 has been turned on for full operation of the GaN device, the PMOS transistor M1 can then be turned off so that the R1 resistors will no longer draw current from the supply voltage VEXT. This may reduce current draw from the supply voltage VEXT by about 2 mA, which amounts to a power savings of 130 mW if the supply voltage VEXT=65V. The sense amp and comparator can also be turned off to save a few more milliamps from being drawn from VDD.

FIG. 14 is a diagram with calculations for adjusting the current sense circuitry for a particular power amplifier. As shown in FIG. 14, two R1 resistors and two R2 resistors are used for symmetry and matching. A resistor RX is set to an offset value of resistance. However, it is to be understood that the resistor R2 in series with the resistor RX can be combined into one resistor to reduce the number of external resistors in order to save board space.

Those skilled in the art will recognize improvements and modifications to the embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow. 

What is claimed is:
 1. A power amplifier controller comprising: current sense amplifier circuitry adapted to monitor a main current of a power amplifier; a bias generator adapted to provide a predetermined standby bias voltage and operational bias voltage for the power amplifier based upon a main current level sensed by the current sense amplifier circuitry; a sequencer adapted to control startup and shutdown sequences of the power amplifier; and temperature compensation circuitry adapted to compensate a gate bias generator for ambient temperature fluctuations.
 2. The power amplifier controller of claim 1 further including bypass circuitry to reroute the main current of the power amplifier around the current sense amplifier circuitry to eliminate efficiency losses due to the main current passing through the current sense amplifier circuitry.
 3. The power amplifier controller of claim 1 wherein the power amplifier comprises enhancement mode field effect transistor (FET) devices.
 4. The power amplifier controller of claim 1 wherein the power amplifier comprises depletion mode FET devices.
 5. The power amplifier controller of claim 1 wherein the power amplifier comprises a combination of enhancement mode FET devices and depletion mode FET devices.
 6. The power amplifier controller of claim 1 wherein the power amplifier comprises bipolar junction transistor (BJT) devices.
 7. The power amplifier controller of claim 1 wherein the power amplifier comprises a combination of BJT devices and FET devices.
 8. The power amplifier controller of claim 1 wherein the power amplifier comprises gallium nitride (GaN) devices.
 9. The power amplifier controller of claim 1 further including direct current (DC) offset circuitry to automatically adjust a detection threshold for the current sense amplifier circuitry.
 10. A method of controlling a power amplifier comprising: driving a bias voltage of the power amplifier to a pinch off voltage; applying a supply voltage to the power amplifier; ramping the bias voltage in the direction of an operational voltage of the power amplifier; monitoring a main current flowing to the power amplifier; stopping the ramping of the bias voltage when the main current reaches a predetermined quiescent point; and compensating the bias voltage for ambient temperature fluctuations.
 11. The method of controlling the power amplifier of claim 10 further comprising applying a signal to be amplified by the power amplifier to the power amplifier.
 12. The method of controlling the power amplifier of claim 10 further comprising: dropping the bias voltage to the pinch off voltage; and removing the supply voltage from the power amplifier.
 13. The method of controlling the power amplifier of claim 12 further including removing a signal to be amplified by the power amplifier from the amplifier prior to dropping the bias voltage to the pinch off voltage.
 14. The method of controlling the power amplifier of claim 10 further including rerouting the main current to the power amplifier around current sense amplifier circuitry to eliminate efficiency losses due to the main current passing through the current sense amplifier circuitry.
 15. The method of controlling the power amplifier of claim 10 further including automatically adjusting a detection threshold for current sense amplifier circuitry that monitors a main current flowing to the power amplifier.
 16. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises GaN devices.
 17. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises enhancement mode FET devices.
 18. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises depletion mode FET devices.
 19. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises a combination of enhancement mode FET devices and depletion mode FET devices.
 20. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises BJT devices.
 21. The method of controlling the power amplifier of claim 10 wherein the power amplifier comprises a combination of FET devices and BJT devices. 